from django.contrib import admin
from visitApi.models import User, Shop, Visit, Info, AppInfo, Task, Customer, Interview, Train, Traindata, Feedback, \
    Announcement

admin.site.site_header = '微服私访系统'
admin.site.site_title = '微服私访系统'


class CommonAdmin(admin.ModelAdmin):
    pass


admin.site.register(User, CommonAdmin)
admin.site.register(Shop, CommonAdmin)
admin.site.register(Visit, CommonAdmin)
admin.site.register(Info, CommonAdmin)
admin.site.register(AppInfo, CommonAdmin)
admin.site.register(Task, CommonAdmin)
admin.site.register(Customer, CommonAdmin)
admin.site.register(Interview, CommonAdmin)
admin.site.register(Train, CommonAdmin)
admin.site.register(Traindata, CommonAdmin)
admin.site.register(Feedback, CommonAdmin)
admin.site.register(Announcement, CommonAdmin)
